package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.WechatMenuDao;
import com.bootdo.wx.domain.WechatMenu;
import com.bootdo.wx.service.WechatMenuService;



@Service
public class WechatMenuServiceImpl implements WechatMenuService {
	@Autowired
	private WechatMenuDao wechatMenuDao;
	
	@Override
	public WechatMenu get(Integer id){
		return wechatMenuDao.get(id);
	}
	
	@Override
	public List<WechatMenu> list(Map<String, Object> map){
		return wechatMenuDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return wechatMenuDao.count(map);
	}
	
	@Override
	public int save(WechatMenu wechatMenu){
		return wechatMenuDao.save(wechatMenu);
	}
	
	@Override
	public int update(WechatMenu wechatMenu){
		return wechatMenuDao.update(wechatMenu);
	}
	
	@Override
	public int remove(Integer id){
		return wechatMenuDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return wechatMenuDao.batchRemove(ids);
	}
	
}
